//
//  sanHomeTopView.h
//  sanFsports
//
//  Created by mac on 16/11/20.
//  Copyright © 2016年 sanAiFuSport.com. All rights reserved.
//

#import "sanBaseController.h"
typedef enum NSUInteger{
    kButtonDate = 1,
    kButtonShai = 2,
    kButtonWeiz = 3,
    kButtonPaiX = 4
}sanHomeTopButton;
@protocol sanHomeTopViewDelegate <NSObject>
- (void)jumpToController:(UIButton *)idx;

@end
@interface sanHomeTopView : UIView
/**
 *  滚动视图滚动后,传过来的让黄条滚动的距离!
 */
@property (assign, nonatomic) CGFloat offset_x;

/**
 *  需要滚动到的页码
 */
@property (assign, nonatomic) NSInteger pageNumber;

@property (weak, nonatomic) id<sanHomeTopViewDelegate> delegate;

@property(nonatomic, copy) void (^modalBlock)(NSInteger tagType);

@end
